package com.xjrsoft.module.customerTwo.aiplm.t_aiplm_lease_work_order.vo;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import com.xjrsoft.common.Enum.TransDataType;
import com.xjrsoft.common.annotation.DataTrans;
import io.swagger.annotations.ApiModel;

/**
 * 视图实体类
 *
 * @author dongxinhang
 * @since 2024-07-03
 */
@Data
@ApiModel(value = "列表TAiplmLeaseWorkOrderVo对象", description = "列表TAiplmLeaseWorkOrderVo对象")
public class TAiplmLeaseWorkOrderListVo {

    @JsonProperty("F_Id")
    private String fId;

    @JsonProperty("F_OrderNum")
    private String fOrdernum;

    @JsonProperty("F_Account")
    @DataTrans(dataType = TransDataType.DATA_SOURCE, dataCode = "7168efada03de8c21f64598d662cf89f", savedField = "F_UserId", showField = "F_Account", multi = false)
    private String fAccount;

    @JsonProperty("F_RealName")
    private String fRealname;

    @JsonProperty("F_Type")
    @DataTrans(dataType = TransDataType.DATA_ITEM, dataCode = "lease_work_order_type", multi = false)
    private String fType;

    @JsonProperty("F_BaseOrder")
    @DataTrans(dataType = TransDataType.DATA_SOURCE, dataCode = "3cbeded1c23c01173754f436d686f380", savedField = "F_Id", showField = "F_OrderNum", multi = false)
    private String fBaseorder;

    @JsonProperty("F_StartDate")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate fStartdate;

    @JsonProperty("F_LeaseDuration")
    private Integer fLeaseduration;

    @JsonProperty("F_EndDate")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate fEnddate;


}
